import { Button, View } from "@tarojs/components";
import Taro from "@tarojs/taro";

export default function Index() {
  Taro.useShareAppMessage(() => {
    return { title: "hans262" };
  });
  Taro.useShareTimeline(() => {
    return { title: "hans262" };
  });
  return (
    <View className="p-4">
      <Button
        onClick={() => {
          Taro.navigateTo({ url: "/pages/resident_medical_insurance/index" });
        }}
      >
        城乡居民医保保费
      </Button>
      <Button
        className="mt-2"
        onClick={() => {
          Taro.navigateTo({ url: "/pages/lpr/index" });
        }}
      >
        LPR历年数据
      </Button>
      <Button
        className="mt-2"
        onClick={() => {
          Taro.navigateTo({ url: "/pages/gjj_lending_rate/index" });
        }}
      >
        公积金贷款利率
      </Button>
      <Button
        className="mt-2"
        onClick={() => {
          Taro.navigateTo({ url: "/pages/loan_calculator/index" });
        }}
      >
        贷款计算器
      </Button>
      <Button
        className="mt-2"
        onClick={() => {
          Taro.navigateTo({ url: "/pages/recorder/index" });
        }}
      >
        录音器
      </Button>
      <Button
        className="mt-2"
        onClick={() => {
          Taro.navigateTo({ url: "/pages/upfile-page/index" });
        }}
      >
        表单
      </Button>
    </View>
  );
}
